<template>
    <div>
        <h3>详情</h3>
        <h1>{{id}}</h1>
    </div>
</template>
<script>
export default {
    name:'Detail',
    data(){
        return{
            id:''
        }
    },
    methods:{

    },
    mounted(){
        //console.log(this.$route);
        this.id = this.$route.params.id;
    }
}
</script>
<style scoped>

</style>